class TimeBean{
  String title;
  int id;
  bool isLine;
  TimeBean.fromJson(Map<String, dynamic> json){
    title=json['title'].toString();
    id=(json['id'] as num)?.toInt();
    isLine=(json['isLine'] as bool);
  }
  Map<String, dynamic> toJson(){
     Map<String, dynamic>map = new Map<String, dynamic>();
     map['title']= "${this.title}";
     map['id']=this.id;
     // map['isLine']=this.isLine;
     return map;
  }
}